<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
 

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
<title>用户信息</title>
<%@include file="../core/head.jsp"%>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<meta http-equiv="pragma" content="no-cache">
<meta http-equiv="cache-control" content="no-cache">
<meta http-equiv="expires" content="0">
<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
<meta http-equiv="description" content="This is my page">
<link rel="stylesheet" type="text/css" href="${ctx }/css/core.css"></link>
<link rel="stylesheet" href="${ctx}/css/regist.css" type="text/css"></link>
<link rel="stylesheet" href="${ctx}/css/buttons.css" type="text/css"></link>
<link rel="stylesheet" href="${ctx}/css/table.css" type="text/css">
<script type="text/javascript" src="${ctx}/js/modules/code/MessageBox.js"></script>
<script type="text/javascript">


$(function(){
	if("${updated}"=="true"){
		$.MessageBox.info("操作成功");
	}
});
</script>
</head>
<body>
<%@include file="../exam/top.jsp"%>
<div class="width center" >
		 
		<form action="${ctx }/user/profile.action" id="mainForm" class="reg-form  radius" method="post" >
			<input type="hidden" name="user.id" value="${user.id}"  />
			<table class="table">
				<tr><th>用户名：</th>
					<td><c:out value="${user.username}"  />
						
					</td>
					<td><s:fielderror fieldName="user.username" cssClass="reg-msg" /></td>
				</tr>
				<tr>
				<th>昵称：</th>
					<td><input type="text" name="user.nickname" class="i-user" value="${user.nickname}" /></td>
					<td><s:fielderror fieldName="user.nickname" cssClass="reg-msg" /></td>
				</tr>
				<tr>
				<th><span>密码：</span></th>
				<td>
			
				<input type="text"  name="user.password" value="${user.password }"  />
				
				</td>
				<td><s:fielderror fieldName="user.password" cssClass="reg-msg" />
				</td>
				</tr>
				<tr>
					<th><span>邮箱：</span></th>
					<td><input type="text" name="user.email" class="i-email" value="${user.email}" /></td>
					<td><s:fielderror fieldName="user.email" cssClass="reg-msg" /></td>
				</tr>
				<tr><td></td>
					<td colspan="2">
						<input type="submit"  class="button green" style="width: 280px;height: 34px ; padding:5px; text-align: center;" value="保存"/> 
					</td>
				</tr>
			</table>
			 
		</form>
	</div>
	<%@include file="../core/bottom.jsp"%>
</body>
</html>
